package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;

import java.io.File;
import java.util.Map;

public class UserSetContract {
    public interface UserSetView extends BaseView {
        void editInfoSuccess();
        void changePwdSuccess();
        void editAvatarSuccess();
        void userAuthSuccess();
    }
    public interface UserSetMdl{
        void editUserMsg(Map<String, Object> map, HttpOnNextListener listener);
        void editAvatar(File file, String token, HttpOnNextListener listener);
        void changePwd(String token, String oldPwd, String newPwd, String newPwd2, HttpOnNextListener listener);
        void userAuth(String token, File img_positive, File img_opposite, String turename, String id_num, HttpOnNextListener listener);
    }
    public interface UserSetPtr{
        void editUserMsg(Map<String, Object> map);
        void editAvatar(File file, String token);
        void changePwd(String token, String oldPwd, String newPwd, String newPwd2);
        void userAuth(String token, File img_positive, File img_opposite, String turename, String id_num);
    }
}
